Skip to content

docs(events): note that on(:response) yields an Exchange, not a Response - #713

Merged
route merged 1 commit into
mainfrom
docs/response-event-exchange
Nov 20, 2026
Merged

route merged 1 commit into
mainfrom
docs/response-event-exchange

Conversation

@route

@route route commented Nov 20, 2026

Copy link
Copy Markdown
Member

on(:response) yields a Network::Exchange, not a Network::Response, which the event name suggests. The guide and the YARD docs now say so and point to exchange.response; the exchange also carries exchange.request, so a response can be matched to its request.

@route
route merged commit f1ffe53 into main Nov 20, 2026
7 checks passed
@route
route deleted the docs/response-event-exchange branch November 20, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant